package cn.csxw.openchina.constant;

import cn.csxw.openchina.utils.Global;

/**
 * Created by hp on 2017/1/12.
 */

public class Constant {

    public static final String BASE_URL = "http://www.oschina.net/action/api/";
    //综合界面
    public static final String NEWS_URL = "news_list?";
    public static final String NEWS_DETAIL_URL = "news_detail?";
    public static final String BLOG_URL = "blog_list?";
    public static final String BLOG_DETAIL_URL = "blog_detail?";

    //动弹界面
    public static final String TWEET_URL = "tweet_list?";
    public static final String TWEET_DETAIL_URL = "tweet_detail?";
    public static final String COMMENT_URL = "comment_list?";

    //发现界面
    public static final String FIND_URL = "active_list?";  //发现
    public static final String EVENT_URL = "event_list?";   //近期活动和我的活动通用
    public static final String POST_DETAIL_URL = "post_detail?";   //活动详情

    //我
    public static final String MY_INFO_URL = "my_information?";   //我的
    public static final String FAVORITE_URL = "favorite_list?";   //收藏

    //关注/粉丝
    public static final String FINS_URL = "friends_list?";   //粉丝

    //@我
    public static final String ACTIVE_URL = "active_list?";   //@我     评论
    public static final String MESSAGE_URL = "message_list?";   //留言
    public static final String MY_TWEET_LIKE_URL = "{username}";   // 赞过我

    public static final String USERBLOG_URL = "userblog_list?";   // 用户博客
    public static final String LOGIN_URL = "login_validate?";   // 登录
    public static final String USER_UID = "user_uid";   // 登录
    public static final String COOKIE = "cookie";   // cookie
    public static final String COOKIES = "Cookie:" + Global.getCook(Constant.COOKIE);   // cookie


    public static final String COMMENT_FRAGMENT = "comment_fragment";  // 评论详情的fragment的flat
    public static final String TWEETBEAN_INFO = "tweetBean";   //  跳转到评论详情界面携带的javaBean
    public static final String COMMENT_POSITION = "position";  //  跳转到评论详情界面携带的位置
}
